<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: 约束</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">约束 </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>LibQQt要求使用分别的独立的多个工程，管理QQt的编译和App的编译。</p><ul>
<li>创建app工程，在IntIns目录。不表。</li>
<li>与IntIns同目录，创建LibQQt工程<ul>
<li>git clone <a href="https://gitee.com/drabel/LibQt">https://gitee.com/drabel/LibQt</a> LibQQt (当初新建工程的时候，手抖了一下，在mac下少写了一个Q..)</li>
</ul>
</li>
</ul>
<h1>配置工程</h1>
<p>修改app的pro文件 如下：</p>
<div class="fragment"><div class="line">{c++}</div><div class="line">system(touch main.cpp)</div><div class="line">include ($${PWD}/../LibQQt/src/app_configure.pri)</div><div class="line">include ($${PWD}/../LibQQt/src/app_deploy.pri) (optional, 发布App用)</div></div><!-- fragment --><ul>
<li>添加QKIT 环境变量，一般桌面上 会选择 QKIT=WIN32 或者 QKIT=LINUX 或者QKIT=macOS等几种，桌面上一般就这三种，相应的还有64位的选择。</li>
<li>运行qmake，根据错误提示和在link_qqt_library.pri下面生成的app_configure.pri配置QQT_BUILD_ROOT QQT_SDK_ROOT，如果包含了app_deploy.pri还要配置APP_DEPLOY_ROOT。设他们=XXX目录。遵循qmake语法，这个应该不难。</li>
<li>然后就开始编译，坐等编译完成。现在的master还算稳定，也就是v2.1.3，还算稳定，我在几个平台上都测试通过了，windows测试的比较少，但是一般也会通过，等详细测试了更新工程。</li>
</ul>
<p>qqtframe2 demo，这个里面个空白的MainWindow工程，用来向用户展示应该如何使用LibQQt。 选择活动工程IntIns 运行，就可以看到窗口了。</p>
<p>2018年01月10日19:09:14 <br />
exquisite是最近调试的最多的工程，通过这个工程看到的工程管理现在是最合适使用的。配合v2.1.6.0 </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
